/*
 * acm1314.c
 *
 *  Created on: 11 Apr 2010
 *      Author: xuxu
 */

#include<stdio.h>

int gcd(int a, int b)
{
	int r;
	while (b)
	{
		r = b;
		b = a % b;
		a = r;
	}
	return a;
}

int main()
{
	int step, mod;
	while (scanf("%d%d", &step, &mod) != EOF)
	{
		printf("%10d%10d    %s\n\n", step, mod, gcd(step >= mod ? step : mod,
				step >= mod ? mod : step) == 1 ? "Good Choice" : "Bad Choice");
	}
	return 0;
}
